package com.xoa.service.equipment;

import com.xoa.model.equipment.LimsEquipFile;
import com.xoa.model.equipment.LimsEquipParts;
import com.xoa.util.LimsJson;

import javax.servlet.http.HttpServletRequest;



/**
 * @作者 王穗穗
 * @创建日期 13:27 2020/1/8
 * @类介绍
 */
public interface EquipmentAcceService {

    /**获取配件编号**/
    LimsJson EquipAccessItems(String equipNo, Integer equipId);

    /**查询设备配件**/
    LimsJson getEquipAccess(Integer equipId, Integer page, Integer limit);

    /**添加设备配件或修改设备配件信息**/
    LimsJson operationEquipAccess(LimsEquipParts limsEquipParts);

    /**删除设备配件信息**/
    LimsJson delEquipAccess(String partIds);

    /**查询设备附件**/
    LimsJson getEquiFile(Integer equipId, Integer page, Integer limit);

    /**添加设备附件或修改设备附件信息**/
    LimsJson operationEquiFile(HttpServletRequest request, LimsEquipFile limsEquipFile);

    /**删除设备附件信息**/
    LimsJson delEquiFile(String fileIds);
}
